@import "common.scss";
html {
  width: 100%;
  height: 100%;
}
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-image: url(https://cdn.jsdelivr.net/gh/misitebao/CDN@main/bg/013.svg);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.introduction {
  padding: 20px;
  .hello {
    margin: 200px 0 5px;
    font-size: 50px;
  }
  .name {
    margin: 20px 0 5px;
    font-size: 40px;
  }
  .description {
    line-height: 30px;
    margin: 20px 0;
    font-size: 20px;
    letter-spacing: 2px;
    .link {
      position: relative;
      text-decoration: none;
      color: #2f2f2f;
      &::before {
        position: absolute;
        left: 0;
        bottom: 0;
        display: inline-block;
        content: "";
        width: 100%;
        height: 20%;
        // background-color: turquoise;
        background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
        z-index: -1;
      }
      &:hover {
        color: #ffffff;
      }
      &:hover::before {
        height: 100%;
        transition: height 0.3s;
      }
      &::link,
      &:visited,
      &:hover,
      &:active {
        color: unset;
        text-decoration: none;
      }
    }
  }
  .social {
    margin: 20px auto 20px;
    .social-item {
      position: relative;
      height: 130px;
      text-align: center;
      .name {
        height: 30px;
        line-height: 30px;
        font-size: 22px;
        color: #2f2f2f;
        text-decoration: none;
        &:hover + .qrcode {
          display: block;
        }
      }
      .qrcode {
        display: none;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 30px;
        width: 100px;
        height: 100px;
        margin: auto;
        z-index: 1;
      }
    }
  }
}
